<?php
require "./functions/dbConnections.php";
require './functions/SQLFunctions.php';
?>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Văn Phòng Luật Sư Đức Thịnh</title>
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<link href="css/cpstyle.css" rel="stylesheet" type="text/css" />
		<link href="css/typography.css" rel="stylesheet" type="text/css">
		<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
		<link rel="stylesheet" href="css/jquery-ui.css">
		<script src="js/jquery-ui.js"></script>
		<link rel="stylesheet" href="/resources/demos/style.css">
		<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700&subset=latin,vietnamese' rel='stylesheet' type='text/css'>
	</head>
	<body>
		<div id="container">
			<?php
				$p = $_GET["p"];
				switch($p) {
					case 'about' :
						require './pages/information/about.php';
						break;
					case 'submit' :
						require './pages/common/submit.php';
						break;
					case 'home' :
						require './pages/common/home.php';
						break;
					case 'contacts' :
						require './pages/common/contacts.php';
						break;
					case 'introduce' :
						require './pages/information/introduce.php';
						break;
					case 'newsdetail' :
						require './pages/news/newsdetail.php';
						break;
                    case 'newslist' :
                        require './pages/news/newslist.php';
                        break;
					case 'language' :
						require './pages/common/language.php';
						break;
                    case 'employeelist' :
                        require './pages/employee/employeelist.php';
                        break;
                    case 'employeedetails' :
                        require './pages/employee/employeedetails.php';
                        break;
                    case 'homefooter' :
                        require './pages/common/homefooter.php';
                        break;
                    case 'recruitmentdetail' :
                        require './pages/recruitment/recruitmentdetail.php';
                        break;
					default :
						require './pages/common/home.php';
				}
			?>
		</div>
	</body>
</html>
